home *** CD-ROM | disk | FTP | other *** search
/ The Best of Select: Multimedia 20 / The Best of Select: Multimedia 20.iso / mpg / usempeg.txt < prev    next >
Text File  |  1996-10-14  |  3KB  |  103 lines

  1. Hi all you eager MPEG Encoders,
  2.  
  3. Here is a short  guide to using the DOS port of PVRG MPEG, these guide lines
  4. should apply to other platforms as well.
  5.  
  6. I will concentrate my explanation on making XING compatible files as this 
  7. would appear to be the most popular player on DOS platforms. These files only 
  8. include I frames but are viewable by all the players I have used.
  9.  
  10. The tools required to make the sample movie on a DOS platform are as follows:
  11.  
  12.     1)      The DOS port of PVRG MPEG CODEC called pvrgmpeg.exe
  13.     2)      The DOS port of PPM2CYUV called ppm2cyuv.exe
  14.     3)      Image Alchemy from a number of ftp sites.
  15.             eg /mirrors4/garbo.uwasa.fi/graphics/alch16.zip
  16.                 at wuarchive.wustl.edu
  17.  
  18.  
  19. Image Alchemy may be replaced with giftoppm.exe from the pbmplus set of
  20. graphics tools.
  21.  
  22.  
  23. The description is centred around creating a movie called short which consists
  24. of 10 frames. In the zip file of the binaries of the DOS port you find 6 GIF
  25. files, these are reduced to 160*120 from the movie supplied with the PVRG
  26. source code.
  27.     short0.gif.........short5.gif
  28.  
  29. Step 1
  30.     Create the 160 by 120 PPM files
  31.         alchemy -k -X160 -Y120 short*.gif
  32.  
  33.     Note Image Alchemy use the extension PNM.
  34.     
  35. Step 2
  36.     Split the images into Y, U and V files.
  37.  
  38.     ppm2cyuv short0.ppm short -CCIR601
  39.     
  40.     Repeat for each frame.
  41.  
  42. Step 3
  43.     Create a copy of the middle frames to form a ping-pong effect.(See
  44.     note later on)
  45.  
  46.     copy short4.? short6.?
  47.     copy short3.? short7.?
  48.     copy short2.? short8.?
  49.     copy short1.? short9.?
  50. Step 3
  51.     Create the movie.
  52.  
  53.     pvrgmpeg -XING -a 0 -b 9 short -s short.mpg
  54.  
  55.  
  56. Step 4 
  57.     Play the movie.
  58.  
  59.  
  60. The PVRG MPEG CODEC (pvrgmpeg.exe) has many command line settings, you will
  61. really need to read the full documentation supplied by PVRG to see what they 
  62. all do.
  63.  
  64.  
  65. Directing Your Movies:
  66.  
  67. Hint 1
  68.  
  69. Select your video clip carefully. It is best if the sequence is suited to a
  70. ping-pong approach, this simply means that you grab say 5 frames of motion and
  71. make a movie which consists of the following frame order.
  72.  
  73.     1,2,3,4,5,4,3,2
  74. The XING player loops the movie and this frame order means there is continous
  75. movement, this is not such a problem for longer movies but for short 5-10
  76. second clips it is important.
  77.  
  78. Hint 2
  79.  
  80. The XING player files must be 160*120 and this is not give a very clear picture
  81. for objetcs/people that are in the distance of the shot. Stick to sequences
  82. where the object fills the screen rather than lots of still background.
  83.  
  84. Hint 3
  85.  
  86. If the object/person is entering the shot try to get it such that they are
  87. approaching the camera so that they gradually fill the shot.
  88.  
  89. Hint 4
  90.  
  91. Remember the images stored are compressed and some image quality is lost. Start
  92. with a good quality video source.
  93.  
  94.  
  95. Enjoy the Movies and don't each too much PopCorn.
  96.  
  97. Graham Logan
  98. June 15th 1993
  99. mitgml@dct.ac.uk
  100.  
  101. "You can't fool me there ain't no Sanity Clause", Chico Marx
  102.  
  103.